<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/custom.css" />
    <title></title>
    <style></style>
    <!--地址添加样式-->
    <link rel="stylesheet" href="../../../ht-css/replaceAddress/addAddress.css">
    <style type="text/css">
        .icon-Star{color:red;}
        p{
            width: 250px;
            height: 30px;
            line-height: 30px;
            color: #000;
            font-size: 14px;
        }
        p >a {
            display: block;
            width: 100%;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }
        p >a:hover{
            display: block;
            width: 100%;
            overflow: auto;
            white-space: normal;
        }
    </style>
    <title></title>
</head>
<body data-id="184" style="line-height: 2.6">
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页  <span class="c-gray en">&gt;</span>会员管理<span class="c-gray en">&gt;</span>客户组管理<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <div id="tab_topnav" class="HuiTab">
        <div class="tabBar clearfix">
            <span>公告编辑</span>
        </div>
        <!--基本信息-->
        <div class="tabCon bk-gray bg-1">
            <form method="post">
                <div class="bg-1 pb-10">
                    <div class="lh-30 mb-10">
                        <table class="table_li mb-10 table">
                            <thead class="text-l">
                            <tr>
                                <td class="col-4-1 text-l">
                                    <div class="row ml-10" >
                                        <label class="form-label f-l label-right w-80"><span class="c-red">*</span>标题：</label>
                                        <input type="text" class="input-text radius formControls w-150 ml-10 lh-26" id="title" maxlength="50" placeholder="请输入标题"  style="width: 10%">
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="col-4-1 text-l">
                                    <div class="row ml-10">
                                        <label class="form-label f-l label-right w-80"><span class="c-red">*</span>展示顺序：</label>
                                        <input type="text" class="input-text radius formControls w-150 ml-10 lh-26" id="displaySequence" placeholder="请输入展示顺序"  style="width: 10%"  onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')">
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="col-4-1 text-l">
                                    <div class="row ml-10">
                                        <label class="form-label f-l label-right w-80"><span class="c-red">*</span>生效时间：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text Wdate radius ml-10" placeholder="请选择时间" autocomplete="off"   onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'createTimeEnd\')}',startDate:'%y-%M-%d 00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" id="createTime" style="width:120px;">
                                            <span>~</span>
                                            <input type="text" class="input-text Wdate radius" placeholder="请选择时间" autocomplete="off"   onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'createTime\',{m:+1})}',endDate:'%y-%M-%d 00:00',dateFmt:'yyyy-MM-dd HH:mm:ss' })"  id="createTimeEnd" style="width:120px;">
                                        </div>

                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="col-4-1 text-l">
                                    <div class="row ml-10">
                                        <label class="form-label f-l label-right w-80"><span class="c-red">*</span>文章内容：</label>
                                        <div class="formControls f-l">
                                            <div id="editor" class="formControls col-sm-9">
                                            </div>
                                        </div>

                                    </div>
                                </td>
                            </tr>

                            <tr>
                                <td class="col-4-1 text-l">
                                    <div class="row ml-10">
                                        <label class="form-label f-l label-right w-80"><span class="c-red">*</span>生效状态：</label>
                                        <div class="formControls w-150 ml-10 lh-26 " style="margin-left: 50px;">
                                            <label ><input type="radio" value='0' id="picStatus1"  name="picStatus"/>生效</label>
                                            <label class="ml-15"><input type="radio" value='1' id="picStatus2"  name="picStatus"/>不生效</label>
                                        </div>

                                    </div>
                                </td>
                            </tr>
                            </thead>
                        </table>
                        <div class="text-c mt-10" style="margin-top: 82px;">
                            <input type="button" class="btn btn-secondary radius size-S" value="保存" onclick="addcarouselMap()">
                            <input type="button" class="btn radius size-S ml-10" value="取消" onclick="cancelbtn()">
                        </div>
                    </div>
                </div>
            </form>
        </div>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
<!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script type="text/javascript" charset="utf-8" src="../../../ht-js/operation-js/ueditor/ueditor.config.js?rev=@@hash"></script>
<script type="text/javascript" charset="utf-8" src="../../../ht-js/operation-js/ueditor/ueditor.all.min.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/Project.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../../lib/pagination/pagination.css">
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<script src="../../../ht-js/Customer/accountAystem/noticeEdit.js?rev=@@hash"></script>

<script>
    var ue = UE.getEditor('editor',{
        enterTag:'' ,
        autoHeightEnabled: true,
        autoFloatEnabled: true,
        initialFrameWidth: 750,
        initialFrameHeight:400
    });
    UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
    UE.Editor.prototype.getActionUrl = function(action) {
        if (action == 'uploadimage' || action == 'uploadvideo' || action == 'uploadfile' ) {
            return root.sroreinter.ueditor; //在这里返回我们实际的上传图片地址
        } else {
            return this._bkGetActionUrl.call(this, action);
        }
    }
    jQuery.Huitab = function(tabBar, tabCon, class_name, tabEvent, i) {
        var $tab_menu = $(tabBar);
        // 初始化操作
        $tab_menu.removeClass(class_name);
        $(tabBar).eq(i).addClass(class_name);
        $(tabCon).hide();
        console.log(tabCon)
        $(tabCon).eq(i).show();
        $('#tableId').hide()
        $tab_menu.bind(tabEvent, function() {
            $tab_menu.removeClass(class_name);
            console.log($(this).text())
            if($(this).text()=='基本信息'){
                $('#tableId').hide()
            }else {
                $('#tableId').show()
            }
            $(this).addClass(class_name);
            var index = $tab_menu.index(this);
            $(tabCon).hide();
            $(tabCon).eq(index).show();
            // $('#tableId').show()
        });
    }

    $(function() {
        $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
    });


    function reload() {
        //location.replace(location.href);
        window.location.reload(location.href);
    }
    function close_model() {$("#dizhi").modal("hide"); $("#tuank").hide()}


</script>
</body>
</html>